package wyy02;

public class SonLikeDo implements DadLikeDo,MomLikeDo{
    public static void main(String[] args) {
        SonLikeDo sonLikeDo = new SonLikeDo();
        sonLikeDo.ride();
        sonLikeDo.basketball();
        sonLikeDo.sing();
        sonLikeDo.dance();

    }
    @Override
    public void ride() {
        System.out.println("骑车");
    }

    @Override
    public void basketball() {
        System.out.println("打篮球");

    }

    @Override
    public void sing() {
        System.out.println("唱歌");
    }

    @Override
    public void dance() {
        System.out.println("跳舞");
    }


}
